package com.sgb.member.entity;

import android.text.TextUtils;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;

public class MemberTeamPersonBean implements Serializable {

    /**
     * type_work : 1357580162966884352
     * no : 1381866690341638144
     * contact_phone : 15656565656
     * city_no : 110100
     * latitude : 39.915978
     * category_no : 20190313457612
     * user_no : 1363753845028687872
     * province_no : 110000
     * price : 300
     * contact : 王振
     * hasQuete : false
     * im_name : 王振
     * id : 1033
     * longitude : 116.462105
     * address : 北京北京市东城区
     * create_time : 1618297667476
     * has_material : 3
     * quetePrice : 0
     * equipment :
     * type_work_name : 架子工
     * im_id : 60337565bf5eed0001179287
     * team_name :
     * unit : 天
     * area_no : 110101
     * material :
     * is_focus : false
     * company_no : 1363753848786784256
     * location : null
     * category : 房建工程
     */

    private String type_work;
    private String no;
    private String contact_phone;
    private String city_no;
    private String latitude;
    private String category_no;
    private String user_no;
    private String province_no;
    private String price;
    private String contact;
    private boolean hasQuete;
    private String im_name;
    private int id;
    private String longitude;
    private String address;
    @SerializedName(value = "create_time", alternate = {"createTime"})
    private long create_time;
    @SerializedName(value = "has_material", alternate = {"hasMaterial"})
    private int has_material;
    private double quetePrice;
    private String equipment;
    @SerializedName(value = "type_work_name", alternate = {"typeWorkName"})
    private String type_work_name;
    private String im_id;
    private String team_name;
    private String unit;
    private String area_no;
    private String material;
    private boolean is_focus;
    private String company_no;
    private String location;
    private String userNo;
    private String processId;
    private boolean isFocus;
    private String imName;
    private String imId;
    private String companyNo;
    private String categoryNo;
    private String applyStatus;



    @SerializedName(value = "category", alternate = {"categoryName"})
    private String category;

    public String getType_work() {
        return type_work;
    }

    public void setType_work(String type_work) {
        this.type_work = type_work;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public String getContact_phone() {
        return contact_phone;
    }

    public void setContact_phone(String contact_phone) {
        this.contact_phone = contact_phone;
    }

    public String getCity_no() {
        return city_no;
    }

    public void setCity_no(String city_no) {
        this.city_no = city_no;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public String getCategory_no() {
        return category_no;
    }

    public void setCategory_no(String category_no) {
        this.category_no = category_no;
    }

    public String getUser_no() {
        return user_no;
    }

    public void setUser_no(String user_no) {
        this.user_no = user_no;
    }

    public String getProvince_no() {
        return province_no;
    }

    public void setProvince_no(String province_no) {
        this.province_no = province_no;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact;
    }

    public boolean isHasQuete() {
        return hasQuete;
    }

    public void setHasQuete(boolean hasQuete) {
        this.hasQuete = hasQuete;
    }

    public String getIm_name() {
        return im_name;
    }

    public void setIm_name(String im_name) {
        this.im_name = im_name;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public long getCreate_time() {
        return create_time;
    }

    public void setCreate_time(long create_time) {
        this.create_time = create_time;
    }

    public int getHas_material() {
        return has_material;
    }

    public void setHas_material(int has_material) {
        this.has_material = has_material;
    }

    public double getQuetePrice() {
        return quetePrice;
    }

    public void setQuetePrice(double quetePrice) {
        this.quetePrice = quetePrice;
    }

    public String getEquipment() {
        return equipment;
    }

    public void setEquipment(String equipment) {
        this.equipment = equipment;
    }

    public String getType_work_name() {
        return type_work_name;
    }

    public void setType_work_name(String type_work_name) {
        this.type_work_name = type_work_name;
    }

    public String getIm_id() {
        return im_id;
    }

    public void setIm_id(String im_id) {
        this.im_id = im_id;
    }

    public String getTeam_name() {
        return team_name;
    }

    public void setTeam_name(String team_name) {
        this.team_name = team_name;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getArea_no() {
        return area_no;
    }

    public void setArea_no(String area_no) {
        this.area_no = area_no;
    }

    public String getMaterial() {
        return material;
    }

    public void setMaterial(String material) {
        this.material = material;
    }

    public boolean isIs_focus() {
        return is_focus;
    }

    public void setIs_focus(boolean is_focus) {
        this.is_focus = is_focus;
    }

    public String getCompany_no() {
        return company_no;
    }

    public void setCompany_no(String company_no) {
        this.company_no = company_no;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getCategory() {
        if (!TextUtils.isEmpty(category)){
            return category;
        }else {
            return "--";
        }
    }

    public void setCategory(String category) {
        this.category = category;
    }
}
